<?php /* Smarty version Smarty-3.1.6, created on 2013-03-25 11:59:56
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Orders/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1078961355514fcbbc1ff016-56486491%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a80687c17b0ca1cf71e6a7d9f0053ff8e22cc6ec' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Orders/index.tpl',
      1 => 1364183646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1078961355514fcbbc1ff016-56486491',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_514fcbbc271fb',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_514fcbbc271fb')) {function content_514fcbbc271fb($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.wz.php';
if (!is_callable('smarty_function_note')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.note.php';
?><?php echo smarty_function_wz(array(),$_smarty_tpl);?>

<form method="POST" action="<?php echo U("Orders/".(@ACTION_NAME));?>
" id="search_form">
__SEARCH_START__
		<dl>
		   <dt>
					<label ><?php echo $_smarty_tpl->tpl_vars['lang']->value['order_no'];?>
：</label>
					<input type="text" name="main[like][order_no]" url="<?php echo U('/AutoComplete/orderNo');?>
" jqac>
            	</dt>
            	<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['factory_name'];?>
：</label>
					<input type='hidden' name="main[query][factory_id]">
					<input type='text' url="<?php echo U('/AutoComplete/factory');?>
" jqac>
            	</dt>    
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_no'];?>
：</label>
					<input type='hidden' name="detail[query][product_id]">
             		<input type='text' url="<?php echo U('/AutoComplete/product');?>
" jqac>
            	</dt>            			  
            	<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['order_date_from'];?>
：</label>
						<input type="text" name="main[date][from_order_date]" class="Wdate spc_input_data" onClick="WdatePicker({ onpicked:function(){ dsklfjdas();}})"/>
						<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['to_date'];?>
</label>
						<input type="text" id="dsfkjdlasfjdsfs" name="main[date][to_order_date]" class="Wdate spc_input_data" onClick="WdatePicker()"/>
            	</dt>    
            	<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['expect_date_from'];?>
：</label>
						<input type="text" name="main[date2][from_expect_date]" value="<?php echo $_POST['date2']['from_expect_date'];?>
" class="Wdate spc_input_data" onClick="WdatePicker()"/>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['to_date'];?>
</label>
						<input type="text" name="main[date2][to_expect_date]" value="<?php echo $_POST['date2']['to_expect_date'];?>
" class="Wdate spc_input_data" onClick="WdatePicker()"/>
            	</dt>         
		</dl>	
		<input type="hidden" name="date_key" value="2">
__SEARCH_END__
</form>
<?php echo smarty_function_note(array('tabs'=>"orders",'content'=>"<ul><li>".($_smarty_tpl->tpl_vars['lang']->value['comments'])."：</li><li class='bzyellow'></li><li>".($_smarty_tpl->tpl_vars['lang']->value['mf_tip'])."</li></ul>"),$_smarty_tpl);?>

<div id="print" class="width98">
<?php echo $_smarty_tpl->getSubTemplate ("Orders/list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div> 

<?php }} ?>